<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConfigureContentFragment.aspx.cs" Inherits="CommunityServerWeb.ControlPanel.Settings.ConfigureContentFragment" MasterPageFile="~/ControlPanel/Masters/Modal.master" %>


<asp:Content ContentPlaceHolderId="bcr" runat="Server">

	<div class="CommonContentArea">
	<div class="CommonContent">
            <CSControl:ConfigureContentFragmentForm runat="server" ID="ContentFragmentForm"
                ContentFragmentConfigurationFormId="ConfigurationForm"
                ContentFragmentDescriptionTextId="Description"
                SaveButtonId="Save">
                <FormTemplate>
                    <div class="CommonFormDescription">
                        <asp:Literal runat="server" id="Description" />
                    </div>
        	        <div class="CommonFormArea">
	                <CSDynConfig:ConfigurationForm runat="server" id="ConfigurationForm"
	                    RenderGroupsInTabs="true" 
	                    PanesCssClass="CommonPane"
		                TabSetCssClass="CommonPaneTabSet"
		                TabCssClasses="CommonPaneTab"
		                TabSelectedCssClasses="CommonPaneTabSelected"
		                TabHoverCssClasses="CommonPaneTabHover"
		                >
		                <PropertyFormGroupHeaderTemplate>
		                    <div class="CommonFormDescription">
		                        <CSDynConfig:PropertyGroupData Property="Description" runat="server" />
		                    </div>
		                    <table cellspacing="0" cellpadding="2" border="0" width="100%">
		                </PropertyFormGroupHeaderTemplate>
		                <PropertyFormSubGroupHeaderTemplate>
		                    <tr><td colspan="2">
                                <div class="CommonFormSubTitle"><CSDynConfig:PropertySubGroupData Property="Name" runat="server" /></div>
                            </td></tr>
		                </PropertyFormSubGroupHeaderTemplate>
		                <PropertyFormPropertyTemplate>
		                    <tr valign="top">
		                        <td class="CommonFormFieldName" style="width:50%"><strong><CSDynConfig:PropertyData Property="Name" runat="server" /></strong><br /><CSDynConfig:PropertyData Property="Description" runat="server" /></td>
		                        <td class="CommonFormField"><CSDynConfig:PropertyControl runat="server" /></td>
		                    </tr>
		                </PropertyFormPropertyTemplate>
		                <PropertyFormSubGroupFooterTemplate>
		                    <tr><td colspan="2"><div style="height: .5em;"></div></td></tr>
		                </PropertyFormSubGroupFooterTemplate>
		                <PropertyFormGroupFooterTemplate>
		                    </table>
		                </PropertyFormGroupFooterTemplate>
	                </CSDynConfig:ConfigurationForm>
        	
	                <div class="CommonFormField PanelSaveButton">
	                    <asp:Button ID="Save" runat="server" Text="Save" />
                    </div>
                    </div>
                </FormTemplate>
            </CSControl:ConfigureContentFragmentForm>
        
        </div>
        </div>
</asp:Content>